﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;
using BSCMFF.Web.UserControls.Ratings;

namespace BSCMFF.Web.UserControls.Details
{
    public partial class KPIDetails : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string s = LabelPriority.Text;
            //string ss = RBPriority
            RatingBar rb = (RatingBar)this.FindControl("RBPriority");


        }

        protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            //if (e.Item is GridEditFormItem && e.Item.IsInEditMode)
            //{
            //    GridEditFormItem editedItem = (GridEditFormItem)e.Item;
            //    //DropDownList ddlp = (DropDownList)editedItem.FindControl("DDLPerspective");
            //    RadComboBox ddlp = (RadComboBox)editedItem.FindControl("DDLPerspective");

            //    RadComboBoxItem li = ddlp.Items[0];

            //    if (e.Item.OwnerTableView.IsItemInserted)
            //    {
            //        li.Enabled = false;
            //    }
            //    else
            //    {
            //        ddlp.Items.Remove(li);
            //    }               
            //}

        }
    }
}